﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GroundStation.Models
{
    // This is the class that represents the Abort Command. When the user clicks the Abort Button, an AbortMessage object will be created and sent to TowerTop.
    class AbortMessage : Message
    {
        private int _abortID;
        int AbortID
        {
            get
            {
                return _abortID;
            }
            set
            {
                _abortID = value;
            }
        }
        public override void SetPayload(String input)
        {
             commandString = Status + _abortID + input;
        }

    }
}
